// 省市县选择器样式
.province-picker-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.province-picker-content {
    width: 100%;
    max-height: 80vh;
    background-color: white;
    border-radius: 20rpx 20rpx 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

// 头部样式
.picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30rpx;
    border-bottom: 1rpx solid #f0f0f0;
    
    .header-left {
        display: flex;
        align-items: center;
        gap: 20rpx;
        
        .back-btn {
            width: 60rpx;
            height: 60rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: #f8f8f8;
            
            .back-icon {
                font-size: 36rpx;
                color: #666666;
                font-weight: bold;
            }
            
            &:active {
                background-color: #e8e8e8;
            }
        }
    }
    
    .picker-title {
        font-size: 32rpx;
        font-weight: 500;
        color: #333333;
    }
    
    .picker-close {
        width: 60rpx;
        height: 60rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        
        text {
            font-size: 40rpx;
            color: #999999;
        }
        
        &:active {
            opacity: 0.6;
        }
    }
}

// 面包屑导航
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 20rpx 30rpx;
    background-color: #f8f8f8;
    border-bottom: 1rpx solid #f0f0f0;
    
    .breadcrumb-item {
        display: flex;
        align-items: center;
        gap: 10rpx;
        
        text {
            font-size: 28rpx;
            color: #666666;
            
            &:first-child {
                color: #FF7F36;
            }
        }
        
        .breadcrumb-separator {
            color: #cccccc !important;
            margin: 0 10rpx;
        }
        
        &:active {
            opacity: 0.6;
        }
    }
}

// 列表样式
.picker-list {
    flex: 1;
    max-height: 60vh;
}

.picker-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30rpx;
    border-bottom: 1rpx solid #f0f0f0;
    
    &:active {
        background-color: #f8f8f8;
    }
    
    &:last-child {
        border-bottom: none;
    }
    
    .item-name {
        font-size: 32rpx;
        color: #333333;
        font-weight: 400;
    }
    
    .item-arrow {
        font-size: 32rpx;
        color: #cccccc;
        font-weight: bold;
    }
}

// 空状态
.empty-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80rpx 30rpx;
    
    text {
        font-size: 28rpx;
        color: #999999;
    }
}

// 底部按钮
.picker-footer {
    display: flex;
    padding: 30rpx;
    gap: 20rpx;
    border-top: 1rpx solid #f0f0f0;
    background-color: white;
    
    .footer-btn {
        flex: 1;
        height: 80rpx;
        border-radius: 40rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        
        text {
            font-size: 30rpx;
            font-weight: 500;
        }
        
        &.cancel-btn {
            background-color: #f8f8f8;
            border: 1rpx solid #e0e0e0;
            
            text {
                color: #666666;
            }
            
            &:active {
                background-color: #e8e8e8;
            }
        }
        
        &.confirm-btn {
            background: linear-gradient(to left, #FF7F36 0%, #F54730 100%);
            
            text {
                color: white;
            }
            
            &:active {
                opacity: 0.8;
            }
        }
    }
}

// 响应式适配
@media screen and (max-width: 750rpx) {
    .province-picker-content {
        max-height: 85vh;
    }
    
    .picker-list {
        max-height: 65vh;
    }
}
